//
//  SubCategoriesModel.m
//  Tweetup
//
//  Created by Ha Cong Thuan on 3/31/14.
//  Copyright (c) 2014 Ha Cong Thuan. All rights reserved.
//

#import "SubCategoriesModel.h"

@implementation SubCategoriesModel
@synthesize _id,category_id,created,img_thumb,modified,name;

-(id)innitWithJson:(NSDictionary *)dic{
    self._id=[dic objectForKey:@"id"];
    self.category_id=[dic objectForKey:@"category_id"];
    self.created=[dic objectForKey:@"created"];
    self.img_thumb=[dic objectForKey:@"img_thumb"];
    self.modified=[dic objectForKey:@"modified"];
    self.name=[dic objectForKey:@"name"];
    return self;
}

@end
